const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.getInfo.staffPhoto, // 头像
  name: state => state.user.getInfo.username, // 姓名
  ID: state => state.user.getInfo.userId, // id
  company: state => state.user.getInfo.company, // 公司名称
  departmentName: state => state.user.getInfo.departmentName // 部门
}
export default getters
